<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
</head>
<body></body>
<script th:src="@{https://libs.baidu.com/jquery/2.1.4/jquery.min.js}" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        let contextPath = "/api"
        $.ajax({
            type: 'get',
            url: contextPath + "/manage/sys/system/druid/login",
            dataType: "text",
            success: function (data) {
                if (data == "success") {
                    location.href = contextPath + "/druid/sql.html";
                }
            }
        });
    });
</script>
</html>